package j06date;

import java.util.Calendar;

public class J2rili {
    public static void main(String[] args) {
        Calendar calendar = Calendar.getInstance();
        System.out.println(calendar.get(Calendar.YEAR));
        //0-11
        System.out.println(calendar.get(Calendar.MONTH));
        System.out.println("=====");
        calendar.add(Calendar.DATE,41);
        System.out.println(calendar.get(Calendar.YEAR));

    }
}
